package com.foton.logistic.activity.set;


import android.os.Bundle;
import android.view.View;
import android.widget.TextView;

import com.foton.logistic.R;
import com.foton.logistic.base.BaseActivity;
import com.foton.logistic.util.OptionUtil;

import butterknife.InjectView;


public class AboutActivity extends BaseActivity {
    @InjectView(R.id.base_ui_about_version)
    public TextView versionText;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setTaskTag(getClass().getSimpleName());
        setContentView(R.layout.base_ui_about);
    }

    @Override
    public void init() {
        setTitleText(getString(R.string.about_us));
        setTitleTextVisibility(View.VISIBLE);
        setBackLayoutVisibility(View.VISIBLE);
        String version = getString(R.string.about1);
        versionText.setText(String.format(version, OptionUtil.getVersionName(this)));
    }

}